//
//  TestDidSet.swift
//  C001_Tour
//
//  Created by yao_yu on 15/5/18.
//  Copyright (c) 2015年 yao_yu. All rights reserved.
//

import Foundation

class TestDidSet {
    func append(aValue: String){
        children.append(aValue)
    }
    
    var children = [String]() {
        didSet {
            println(oldValue)
        }
    }
    
    class func doTest() {
        var t1 = TestDidSet()
        for i in 1...5{
            t1.append("\(i)")
        }
    }
}

